package com.smartfarm.domain.state;

import com.smartfarm.domain.equipment.AgriculturalEquipment;

/**
 * 空闲状态
 */
public class IdleState implements EquipmentState {
    @Override
    public void handleTask(AgriculturalEquipment equipment) {
        System.out.println(equipment.getName() + " is in idle state, ready to work");
    }

    @Override
    public String getStateName() {
        return "Idle";
    }
} 